home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / catD / hwcpin.z / hwcpin
Encoding:
Text File  |  1998-10-30  |  2.5 KB  |  67 lines

  1.  
  2.  
  3.  
  4. hhhhwwwwccccppppiiiinnnn((((DDDD3333XXXX))))                                                        hhhhwwwwccccppppiiiinnnn((((DDDD3333XXXX))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _hhhh_wwww_cccc_pppp_iiii_nnnn - copy data from I/O devices using 16-bit reads
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _""""_ssss_yyyy_ssss_////_tttt_yyyy_pppp_eeee_ssss_...._hhhh_""""
  13.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_ssss_yyyy_ssss_tttt_mmmm_...._hhhh_>>>>
  14.  
  15.      _hhhh_wwww_cccc_pppp_iiii_nnnn_((((_vvvv_oooo_llll_aaaa_tttt_iiii_llll_eeee _uuuu_nnnn_ssss_iiii_gggg_nnnn_eeee_dddd _ssss_hhhh_oooo_rrrr_tttt _****_f_r_o_m_,,,, _cccc_aaaa_dddd_dddd_rrrr______tttt _t_o_,,,, _iiii_nnnn_tttt _n_u_m__b_y_t_e_s_))))_;;;;
  16.  
  17. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.      _hhhh_wwww_cccc_pppp_iiii_nnnn efficiently copies data from device memory to main memory using
  19.      16-bit reads only.
  20.  
  21.      _hhhh_wwww_cccc_pppp_iiii_nnnn is similar to _bbbb_cccc_oooo_pppp_yyyy(D3) in that it does not verify the
  22.      accessibility of the memory before attempting the transfer.  However,
  23.      _bbbb_cccc_oooo_pppp_yyyy attempts to optimize for speed, and can generate 32-bit and 64-bit
  24.      reads.
  25.  
  26.      When the device is mapped using a PIO map created with _pppp_iiii_oooo______mmmm_aaaa_pppp_aaaa_llll_llll_oooo_cccc(D3X),
  27.      use _pppp_iiii_oooo______bbbb_cccc_oooo_pppp_yyyy_iiii_nnnn(D3X), which allows you to specify the transfer unit size.
  28.  
  29.    RRRReeeettttuuuurrrrnnnn VVVVaaaalllluuuueeeessss
  30.      None
  31.  
  32.    SSSSeeeeeeee AAAAllllssssoooo
  33.      bcopy(D3), hwcpout(D3X), pio_bcopyin(D3X).
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.